package com.itheima.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.util.Date;
import java.io.Serializable;
import java.util.List;

/**
 * 基础题库(HmQuestions)实体类
 *
 * @author makejava
 * @since 2022-01-09 19:13:49
 */
@Data
public class HmQuestions implements Serializable {
    private static final long serialVersionUID = 254058921598867323L;
    /**
     * 编号
     */
    private Integer id;
    /**
     * 试题编号
     */
    private String number;
    /**
     * 学科id
     */
    @TableField(value = "subjectID")
    private Integer subjectID;
    /**
     * 目录id
     */
    @TableField(value = "catalogID")
    private Integer catalogID;
    /**
     * 企业id
     */
    @TableField(value = "enterpriseID")
    private Integer enterpriseID;
    /**
     * 省份
     */
    private String province;
    /**
     * 城市
     */
    private String city;
    /**
     * 方向
     */
    private String direction;
    /**
     * 题型
     */
    @TableField(value = "questionType")
    private String questionType;
    /**
     * 难度
     */
    private String difficulty;
    /**
     * 题干
     */
    private String question;
    /**
     * 解析视频
     */
    private String videourl;
    /**
     * 答案解析
     */
    private String answer;
    /**
     * 题目备注
     */
    private String remarks;
    /**
     * 试题标签
     */
    private String tags;
    /**
     * 精选题
     */
    @TableField(value = "isChoice")
    private Integer ischoice;//
    /**
     * 发布状态
     */
    @TableField(value = "publishState")
    private Integer publishState;
    /**
     * 发布时间
     */
    private Date publishdate;
    /**
     * 筛选状态
     */
    @TableField(value = "chkState")
    private Integer chkState;
    /**
     * 审核人
     */
    @TableField(value = "chkUserID")
    private Integer chkuserid;

    /**
     * 审核人姓名
     */
    @TableField(exist = false)
    private String chkUser;
    /**
     * 审核意见
     */
    @TableField(value = "chkRemarks")
    private String chkRemarks;
    /**
     * 审核日期
     */
    private Date chkdate;
    /**
     * 创建人id
     */
    @TableField(value = "creatorID")
    private Integer creatorID;
    /**
     * 创建日期
     */
    @TableField(value ="addDate")
    private Date addDate;

    @TableField(exist = false)
    private String subject;

    /**
     * 学科名称
     */
    @TableField(exist = false)
    private String subjectName;

    @TableField(exist = false)
    private String catalog;
    @TableField(exist = false)
    private String enterprise;

    /**
     * 创建人姓名
     */
    @TableField(exist = false)
    private String creator;

    /**
     * 目录名称
     */
    @TableField(exist = false)
    private String[]directoryName;

    @TableField(exist = false)
    private List<HmQuestionsOptions>options;
}

